package com.sec.user.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.sec.base.utils.AjaxJson;
import com.sec.user.entity.User;

public interface UserService {

	public List<User> findByUserNameAndPassword(User user);

	public AjaxJson changePassword(HttpServletRequest request, String originalPassword, String newPassword,
			String confirmPassword);

	public AjaxJson findUserListByPage(int pageNumber, int pageSize);

	public AjaxJson saveOrUpdate(User user);

	public AjaxJson getUserInfo(String id);

	public AjaxJson deleteUser(String id);
}
